TEMPLATE = app
TARGET = DndTool
CONFIG += qt \
    warn_on

# Input
HEADERS += CharacterToolMainWindow.h \
    EditSheet.h
FORMS += CharacterSheet.ui \
    dnd.ui
SOURCES += CharacterToolMainWindow.cpp \
    main.cpp \
    EditSheet.cpp
INCLUDEPATH += ../.
DEPENDPATH += ../.
DESTDIR = ../../.
RESOURCES += ../../resources.qrc
macx {
    ICON = ../../DndToolD20.icns
    LIBS += -framework Xml \
        -framework Dialogs \
        -framework DndData \
        -framework Models
    QMAKE_LFLAGS += -F../../DndTool.app/Contents/Frameworks
} else {
    LIBS += -L../../lib \
        -lXml \
        -lDialogs \
        -lDndData \
        -lModels
}

win32:RC_FILE = ../../dndtool.rc
